home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 1 / Amiga Tools.iso / egs-tools / egs_demo-version / egs_devels / c-include / clib / egsblit_protos.h < prev    next >
C/C++ Source or Header  |  1994-06-06  |  3KB  |  88 lines

  1. /**
  2.  **  Prototypes for egsblit.library
  3.  **
  4.  **  Created: 14. Juli 1992   mvk
  5.  **  Changed: 14. Juli 1992
  6.  **  Changed: 24. Juli 1992   us
  7.  **
  8.  **/
  9.  
  10. #ifndef         EXEC_TYPES_H
  11. #include        <exec/types.h>
  12. #endif
  13. #ifndef         EXEC_PORTS_H
  14. #include        <exec/ports.h>
  15. #endif
  16. #ifndef         EGS_EGS_H
  17. #include        <egs/egs.h>
  18. #endif
  19. #ifndef         EGS_EGSBLIT_H
  20. #include        <egs/egsblit.h>
  21. #endif
  22.  
  23. ULONG EB_ReadPixel (E_EBitMapPtr map, WORD x, WORD y);
  24. void EB_WritePixel (E_EBitMapPtr map, ULONG c, WORD x, WORD y, ULONG mask);
  25. void EB_InvertPixel (E_EBitMapPtr map, WORD x, WORD y);
  26. void EB_Draw (E_EBitMapPtr map, ULONG c, WORD x1,
  27.       WORD y1, WORD x2, WORD y2, ULONG mask);
  28.  
  29. void EB_DrawClipped (E_EBitMapPtr map, EB_ClipRectPtr rect,
  30.          ULONG c, WORD x1, WORD y1, WORD x2,
  31.          WORD y2, ULONG mask);
  32.  
  33. void EB_InvertRectangle (E_EBitMapPtr map, WORD left,
  34.          WORD top, WORD right, WORD bottom);
  35.  
  36. void EB_RectangleFill (E_EBitMapPtr map, ULONG c,
  37.            WORD left, WORD top,WORD width,
  38.            WORD height, ULONG mask);
  39.  
  40. void EB_RectangleClipped (E_EBitMapPtr map, EB_ClipRectPtr rect,
  41.           ULONG c, WORD left, WORD top,
  42.           WORD width, WORD height, ULONG mask);
  43.  
  44. void EB_Write (E_EBitMapPtr map, EB_ColorDesPtr color,
  45.        WORD x, WORD y, char* str, WORD len, ULONG mask);
  46.  
  47. void EB_WriteClipped (E_EBitMapPtr map, EB_ClipRectPtr rect,
  48.           EB_ColorDesPtr color, WORD x, WORD y, char* str,
  49.           WORD len, ULONG mask);
  50.  
  51. void EB_CopyBitMap (E_EBitMapPtr src, E_EBitMapPtr dst,
  52.         WORD xs, WORD ys, WORD width, WORD height,
  53.         WORD xd, WORD yd, ULONG mask);
  54.  
  55. void EB_CopyBitMapClipped (E_EBitMapPtr src, E_EBitMapPtr dst,
  56.            EB_ClipRectPtr rect, WORD xs, WORD ys,
  57.            WORD width, WORD height, WORD xd, WORD yd,
  58.            ULONG mask);
  59.  
  60. void EB_FillMask (E_EBitMapPtr mask, E_EBitMapPtr dst,
  61.       EB_ImageDesPtr pattern, WORD x, WORD y, ULONG mask2);
  62.  
  63. void EB_FillMaskClipped (E_EBitMapPtr mask, E_EBitMapPtr dst,
  64.          EB_ImageDesPtr pattern, EB_ClipRectPtr clip,
  65.          WORD x, WORD y, ULONG mask2);
  66.  
  67. E_EBitMapPtr EB_UnpackImage (EB_ImagePtr image, WORD depth,
  68.          EB_ColorTablePtr colors);
  69.  
  70. void EB_BitAreaCircle (E_EBitMapPtr dst, WORD radius);
  71.  
  72. void EB_BitAreaPolygon (E_EBitMapPtr dst, EB_PolygonPtr poly,
  73.         WORD range, WORD width, WORD height);
  74.  
  75. void EB_FloodFill (E_EBitMapPtr dst, EB_ClipRectPtr clip,
  76.        ULONG color, WORD x, WORD y, ULONG mode);
  77.  
  78. void EB_ExtractColor (E_EBitMapPtr src, E_EBitMapPtr dst,
  79.           ULONG color, WORD sx, WORD sy,
  80.           WORD w, WORD h, WORD dx, WORD dy);
  81.  
  82. void EB_FloodOneBit (E_EBitMapPtr map, EB_ClipRectPtr clip,
  83.          EB_ClipRectPtr dclip, WORD x, WORD y);
  84.  
  85. void EB_FloodZeroBit (E_EBitMapPtr map, EB_ClipRectPtr clip,
  86.           EB_ClipRectPtr dclip, WORD x, WORD y);
  87.  
  88.